<?php
use app\web\components\AppAsset;
use yii\helpers\Html;
AppAsset::register($this);
AppAsset::addStyle($this, $this->context->data['css']);
AppAsset::addScript($this, $this->context->data['js']);
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <title><?php echo $this->context->data['meta']['title'] ?></title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <meta name="renderer" content="webkit" />
    <meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1">
    <meta content=always name=referrer>
    <meta charset="UTF-8">
    <?php $this->head() ?>
    <!--        <script type="text/javascript" src="-->
    <?php //echo Yii::$app->params['theme_url']; ?><!--/js/jquery.js"></script>-->
    <!--        <script type="text/javascript" src="-->
    <?php ////echo Yii::$app->params['theme_url']; ?><!--/js/include.js"></script>-->
</head>
<body class="<?php echo $this->context->data['body']['class']; ?>"
      id="<?php echo $this->context->data['body']['id']; ?>">
<?php $this->beginBody(); ?>
<!--header start-->
<?php echo $this->render('common/header.php'); ?>
<!--header end-->
<div class="mains">
    <?php echo $content; ?>
</div>


<!--footer start-->
<?php //echo $this->render('common/footer.php'); ?>
<!--footer end-->
<script>
    var web_url = '<?php echo Yii::$app->params['web_url'];?>';
    var api_url = '<?php echo Yii::$app->params['api_url'];?>';
    var theme_url = '<?php echo Yii::$app->params['theme_url'];?>';
    var img_host = '<?php echo Yii::$app->params['img_host']; ?>';
</script>
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>